<template>
<div class="hello">
  <h1>{{msg}}
  <small>{{version}}</small></h1>
</div>
</template>

<script>
import axios from "axios";
export default {
  name: "HelloWorld",
  props:{
     msg:String,
     version:String
  },
  created() {
    axios.get('/1.json')
    .then((res)=>{
      console.log(res)
    })
  }
}
</script>

<style lang="scss" scoped>
h1{
  font-size: 22px;
  small {
    margin-left: 15px;
  }
}
</style>